﻿using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Ewk.Math.Algebra.UnitTests.MatrixTests.DoubleTests
{
    [TestClass]
    public class TraceTests : DoubleTestBase
    {
        [TestMethod]
        public void Trace_computes_the_trace_of_the_matrix()
        {
            RowCount = 3;
            ColumnCount = 5;
            var matrix = Matrix;

            var trace = matrix.Trace;

            Assert.AreEqual(14, trace.Value);
        }
    }
}